<?php
/**
 * Created by PhpStorm.
 * User: xiong <1099446868@qq.com>
 * DateTime: 2018/11/9
 * TIME: 20:21
 */

namespace app\admin\controller;

use think\Controller;

class BaseController extends Controller{

    public function __construct() {
        parent::__construct();

        self::index();
    }

    //批量给模板赋初始值
    public function index() {
        $this->assign([
            'title_en' => 'itbus'
        ]);
    }
}